<?php

// src/Sdz/BlogBundle/Form/Type/CkEditorType.php

namespace Gairal\CoreBundle\Form\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

class CkEditorType extends AbstractType {

    public function setDefaultOptions(OptionsResolverInterface $resolver) {
        $resolver->setDefaults(array(
            'attr' => array('class' => 'ckeditor')
        ));
    }

    public function getParent() {
        return 'textarea';
    }

    public function getName() {
        return 'ckeditor';
    }

}

?>
